package com.wj.rpsm.user.service.impl;

import com.wj.rpsm.user.mapper.RoomMapper;
import com.wj.rpsm.user.pojo.Room;
import com.wj.rpsm.user.service.RoomService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author WeiJin
 * @version 1.0
 */
@Service
public class RoomServiceImpl implements RoomService {

    @Autowired
    private RoomMapper roomMapper;

    @Override
    public Room getById(Integer id) {
        return roomMapper.getById(id);
    }
}
